package com.financing.wap.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.financing.wap.dto.PublicActivitiesDTO;
import com.financing.wap.dto.PublicActivitiesPersonDTO;
import com.financing.wap.vo.PublicActivitiesVo;

public interface IPublicActivitiesDao extends IBaseDao<PublicActivitiesDTO, Integer>  {

	/**
	 * 
	 * @Title: addPublicActivites
	 * @Description: 添加活动 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int addPublicActivites(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: publicActivitiesList
	 * @Description: 查询活动列表 
	 * @param @return
	 * @param @throws SQLException   
	 * @return List<PublicActivitiesDTO>   
	 * @throws
	 */
	public List<PublicActivitiesDTO> publicActivitiesList() throws SQLException;
	
	/**
	 * 
	 * @Title: queryPublicActivities
	 * @Description: 查询活动详情 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return PublicActivitiesDTO   
	 * @throws
	 */
	public PublicActivitiesVo queryPublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;
	
	/**
	 * 
	 * @Title: updatePublicActivities
	 * @Description: 修改活动 
	 * @param @param publicActivitiesDTO
	 * @param @return
	 * @param @throws SQLException   
	 * @return int   
	 * @throws
	 */
	public int updatePublicActivities(PublicActivitiesDTO publicActivitiesDTO) throws SQLException;

	/**
	 * @Title: getPublicActivitiesList
	 * @Description: 查询活动列表
	 * @param parameter
	 * @return
	 */
	public List<PublicActivitiesVo> getPublicActivitiesList(Map<String, Object> parameter)throws SQLException;

	/**
	 * @Title: getPublicActivitiesCount
	 * @Description: 查询活动列表
	 * @param parameter
	 * @return
	 */
	public int getPublicActivitiesCount(Map<String, Object> parameter)throws SQLException;

	/**
	 * @Title: addPublicActivitiesPerson
	 * @Description: 添加活动参与人
	 * @param bean
	 * @return
	 * @throws SQLException
	 */
	public int addPublicActivitiesPerson(PublicActivitiesPersonDTO bean)throws SQLException;

}
